- 
		Home
	
 
	- 
Download Monitor
 
- 
5.1.3
 
- 
Code
 
- 
Classes
 
-  Cart 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											19 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											140 | 
										
																			
											| Lines of code | 
											58 | 
										
																			
											| Logical lines of code | 
											25 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											53 | 
										
																			
											| Methods | 
											14 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| has_item() | 
									S  | 
																	63 | 
													4 | 
													11 | 
							
					
				| get_items() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| add_coupon() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| set_items() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| add_item() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| is_empty() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_coupons() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_coupons() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_subtotal() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_subtotal() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_total() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_total() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_tax_total() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_tax_total() | 
									S  | 
																	81 | 
													1 | 
													3 |